package com.zz.ecommerce.declareManage.generateDeclare;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * Created by admin on 2016/3/31.
 */
@Repository
public interface GenerateDeclareDao {

    @Update("UPDATE ${tableName} SET IF_CREATE = '1' WHERE ID = #{id}")
    boolean updateIFCreate(@Param("tableName") String tableName, @Param("id") String id);
}
